package com.happystreet.info
{
	/**
	 *墙壁信息 
	 * @author Liseen
	 * 
	 */	
	public class WallInfo extends ItemInfo
	{
		//右下角偏移
		public var bottomRightOffset:Number;
		//左下角偏移
		public var bottomLeftOffset:Number;
		//左边元件名
		public var leftSymbolName:String;
		//左上角偏移
		public var topLeftOffset:Number;
		//右上角偏移
		public var topRightOffset:Number;
		//右元件名
		public var rightSymbolName:String;
		
		public function WallInfo(data:XML)
		{
			super(data);
			this.bottomLeftOffset = data.@bottomLeft;
			this.bottomRightOffset = data.@bottomRight;
			this.topLeftOffset = data.@topLeft;
			this.topRightOffset = data.@topRight;
			this.leftSymbolName = (data.@leftSymbol.length() > 0) ? data.@leftSymbol : null;
			this.rightSymbolName = (data.@rightSymbol.length() > 0) ? data.@rightSymbol : null;
		}
	}
}